function myReload(){
  document.getElementById("createCheckCode").src=
	  document.getElementById("createCheckCode").src + "?nocache="+new Date().getTime();
  $("#checkcode").focus();
};

function doLogin(){
	var loginname = $("#loginname").val();
	var password = $("#password").val();
	var checkcode = $("#checkcode").val();
	var comit_data = "loginname="+loginname+"&password="+password+"&checkcode="+checkcode;
	$.ajax({
		   type: "GET",
		   url: "/jpql/admin/login/dologin",
		   data: comit_data,
		   success: function(msg){
		     alert( "Data Saved: " + msg.result_code );
		     
		   }
	});
	
}

